package by.semerikov.service;

public class ServiceFactory {
	private static ServiceFactory instance;
	
	public static ServiceFactory getInstance()
	{
		if(instance == null)
		{
			instance = new ServiceFactory();
		}
		return instance;
	}
	
	private ServiceFactory() {
		
	}
	
	public UserSessionService getUserSessionService()
	{
		return new UserSessionService();
	}
	
	public PersonService getPersonService()
	{
		return new PersonService();
	}
	
	public ProposalService getProposalService()
	{
		return new ProposalService();
	}
	
	public CarService getCarService()
	{
		return new CarService();
	}
}
